/*------------------------------------------------------------------------------
 * Copyright 2012 NCR Corporation
 *------------------------------------------------------------------------------
 * All revision information is updated automatically from source code control
 * change records - please do not manually edit.
 *------------------------------------------------------------------------------
 *
 * $LastChangedRevision:: 2031                                     $
 * $LastChangedBy:: rb250096                                       $
 * $LastChangedDate:: 2012-04-08 18:21:06 -0400 (Sun, 08 Apr 2012) $
 */

package com.ncr.nep.dashboardcore.ui.client;

import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.HasHandlers;

/**
 * A widget implementing this interface is a public source of
 * {@link PopupMenuEvent} events.
 *
 * @author rb250096
 * @version $Revision: 2031 $
 */
public interface HasPopupMenuHandlers extends HasHandlers {

    /**
     * Adds a {@link PopupMenuHandler} handler to this.
     *
     * @param handler The handler to add.
     *
     * @return The registration object for the event.
     */
    HandlerRegistration addPopupMenuHandler(PopupMenuHandler handler);
}
